﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aulac.Srv.Db.Connect;

namespace Aulac.Srv.Db.Data.Ems.MdcFiles.PntLogs
{
    public partial class EndExamMng  : Ems.Common.DbEmsDataManager
    {
        public EndExamMng(IDbAulacConnect pDb)
            : base(pDb)
		{
        }

        public void SetPntEndOsdExam(string pMdcFilePrkID, string pOsdExamPrkID, bool pIsActive)
        {
            SetPntEndOutsideExamDb(pOsdExamPrkID,pIsActive);
            if(!IsPntCureActiveDb(pMdcFilePrkID))
                SetPntEndMdcFileDb(pMdcFilePrkID, pIsActive);
        }
   
    }
}
